package com.sxkf.template.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 杨玉龙
 * @since 2024-11-12 14:31:40
 */
@Data
@TableName("t_audit_record")
@ApiModel(value = "AuditRecord对象", description = "")
public class AuditRecord implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId("id")
    private String id;

    @ApiModelProperty("1=帖子，2=个人相册，3=头像,4=主页语音")
    @TableField("source")
    private String source;

    @ApiModelProperty("帖子id或用户id")
    @TableField("source_id")
    private String sourceId;

    @ApiModelProperty("类型（1=图片，2=视频，3=音频）")
    @TableField("type")
    private String type;

    @ApiModelProperty("视频及语音对应task_id，图片对应req_id")
    @TableField("type_id")
    private String typeId;

    @ApiModelProperty("状态（0=待审核，1=审核通过，2=审核不通过，3=需人工审核）")
    @TableField("state")
    private String state;

    @ApiModelProperty("描述")
    @TableField("description")
    private String description;

    @ApiModelProperty("通知时间")
    @TableField("callback_time")
    private Date callbackTime;

      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


}
